﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Ample.Model;
using Ample.DAL;

namespace Ample.BLL
{
    [System.ComponentModel.DataObject]
    public class ProductTypeBO
    {
        #region Get Methods

        [System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select, true)]
        public IEnumerable<ProductType> GetProductTypes()
        {
            return DAL.ProductTypeManager.Create().GetProductTypes();
        }

        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select, false)]

        #endregion


        #region Insert Methods

        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Insert, true)]
        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Insert, false)]

        #endregion


        #region Update Methods

        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Update, true)]
        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Update, false)]

        #endregion


        #region Delete Methods

        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Delete, true)]
        //[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Delete, false)]


        #endregion

        #region Business Rules

        private static void ApplyRules()
        {

        }

        #endregion
    }
}
